#pragma  warning(disable:4503)
#pragma once

#include <string>
#include <stdio.h>
#include <map>
#include "standard/stdafx.h"

using namespace std;
class XmlAnalytic
{
public:
	XmlAnalytic(void);
	~XmlAnalytic(void);
	virtual void Show(string &data_,string &dataOut, int flag)=0;

	virtual void LoopPre(string &str);//prev
	virtual void LoopHead(string &str);//head
	virtual void LoopBody(string &str);//body
	virtual void LoopFoot(string &str);//foot
	virtual void mapexec(string &str,string &mapOut);

	void GetValue(map<string, mapLIntStrStr > &mapdata);
	void GetValue(map<string, mapStrStr > &mapdata);
	void GetValue(mapStrStr &mapdata);

protected:
	map<string, mapLIntStrStr >  m_Htmap; // IntStrStr
	map<string, mapStrStr > m_Htmaps;// StrStr
	map<string, string> m_Hts;// Str

	int m_flag;
};

